Junk characters issue when trying to read Thai resources (.rc) in Windows App
I am working on the development of a windows app where when the .rc file used in this project is localized in thai junk characters appear on the app UI. We are using ANSI based rc files in this project. I understand that for my app to work I need to…
Most efficient way to create a layout for an offline installation of visual studio
I have created a layout for an offline installation of visual studio 2019 (community edition). This was done on machine1 which had internet access, using the command vs_community.exe --layout c:\vslayout --lang en-US --add…
Debugging SQL Server on Linux from remote VS 2022 pc
Is it possible to debug an SQL-Server on an Ubuntu 22 machine from Visual Studio 2022? I can reach the server an can execute queries from within VS2022. But debugging fails with no useful message (error 80004005). Firewall on the server pc is inactive.…
How to pars the text and extract some parts and assigning them to variables in visual studio .Net without interfering with the received data from serial port?
I have a received data from com port in this format: ************************* General Device Configuration ************************* Flash address...............0x40100180 Memory allocated............256 Size on…
XSLT/XSL-FO transformation function stops working (Exception from HRESULT: 0x80131401)
Hello, My Visual Studio is again not working for XSLT/XSL-FO transformations. The error message that displays is: FileLoadException Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401). All…
Why are Backspace, Enter, Navigation keys not working while editing any file in Visual Studio?
I am using Visual Studio Extensions, while creating a new solution through extension for the first time, we are only able to type alphabets. Backspace, Enter, Navigation keys are not working while editing any file. But when we force close the solution,…
How to configure virtual directory correctly with right permission on Visual Studio to serve Blazor Standalone frontend
I'm currently managing a .NET 6 Blazor standalone application that utilizes WebAssemblyHostBuilder. For deployment, the application is configured to operate under a virtual directory, enabling it to be accessed via a subpath (e.g., test.fr/subpath1/).…
How to get Code Coverage in Visual Studio 2022 with CMake Cpp Projects with a Windows Compiler
I have a Cpp project that is being built with the MSVC compiler and using CMake. I need a code coverage solution, preferably one that either provides detailed reports or in Visual Studio code highlighting that is possible using CMake. So far I have tried…
Visual Studio 2022 : error 1296 Hardware 'Test_(01)' does not have an associated service using install section 'A9_GBD'
I upgraded my Visual Studio from 2017 to 2022, and also the SDK and WDK do the brand release. In the past with older releases I have no issue with V3 printer INF File. Now I always get an error with code 1296 Hardware 'Test_(01)' does not have an…
Object cannot be cast from DBNull to other types.
Good day, I want to check my DB connection and here's my code. private void Button2_Click(object sender, EventArgs e) { string mysqlcon =…
How to prevent VS from breaking on handled exceptions?
I don't think VS did this until recently. It started breaking at handled exceptions. How do I prevent it?
Trouble Generating Dependency Graph for Remote CMake Project in Visual Studio 2017
Problem: I am trying to generate a dependency graph for a CMake project that is built and runs on a remote Linux server using Visual Studio 2017. Despite successfully building the project remotely, when I attempt to generate a dependency graph (.dgml…
Change the default project name of a Visual Studio Project
I want to change the default project name for all projects in Visual Studio. Whenever I create a new project in Visual Studio, I want it to show the name that I have defined. For example, it should display names like 'NewWindowsApp1', 'NewWindowsApp2',…
How to fix MSB4242, SDK Resolver Failure, saying it cannot access a file being used by another process
I resolved it already, but adding this here because there was no documentation about MSB4242 and I couldn't find any sites mentioning it along with the same exception message. Not sure why it started. My solution was building just fine before. I don't…
How can an editor VSIX extend the C# method 'References' UI?
In the VS extensibility model, is there a way for me to add additional links/text to the 'References' text that is shown on top of each C# methods?
objフォルダに生成されるはずのAxInterop.CoReportsViewU.dllが生成されない。
Windows10(64bit)、VS2017 Professional、Coreports Ver11で動作していたPGMを、Windows11(64bit)、VS2022 Professional、Coreports…
Visual Studio 2022- Couldn't install Microsoft.VisualCpp.Redist.14
I'm trying to install Desktop development with C++ for Visual Studio 2022. Attempting to install this using the Visual Studio Installer returns an error stating: Couldn't install Microsoft.VisualCpp.Redist.14 The log file mentions another log file that…
XamlC error XFC0062: Undeclared xmlns prefix
Hi, I am doing a first test in .NET Maui but can't get this resolved. I keep getting the same compile error on : Error XFC0062 Undeclared xmlns prefix "mym". MyMauiApp C:\Users\thoma\source\repos\MyMauiApp\MainPage.xaml 17 Output window : …
.net8 windows form design view problem.
I am developing Revit addin in Vidual Studio in c++/cli as class library. Before moving to .net platform everyhing was working fine. But in .net Windows form design views doesnt work. Though when I add form element by code. It compiles and works. The…
如何打開無法開啟的封包檔案
因離線安裝檔中有封包無法開啟進行各別掃描,這邊想請問如何將無法開啟的封包打開以便進行掃描